package com.sise.rsc.service;

import com.sise.rsc.entity.Address;
import com.sise.rsc.repository.AddressRepository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class CustomerService {
    @Resource
    private AddressRepository addressRepository;

    public void saveAddress(Address address){
        addressRepository.save(address);
    }
}
